var ZForm={};
/**
 * 创建 提交表单form
 * @param ZParams 参数属性
 * @param Ztarget '' 'self' 'blank'
 * @param ZMethod post get
 * @param ZAction 请求路径
 */
ZForm.create=function(ZParams,Ztarget,ZMethod,ZAction){
	var zform=$("<form>");//定义一个form表单  
	zform.attr("style","display:none");  
	zform.attr("target",Ztarget);  
	zform.attr("method",ZMethod);  
	zform.attr("action",Feng.ctxPath+ZAction);  
	for(var zparam in ZParams){
		var zinput=$("<input>");  
		zinput.attr("type","hidden");  
		zinput.attr("name",zparam);  
		zinput.attr("value",ZParams[zparam]);  
        zform.append(zinput);
	};
	return zform;
};